#include "lpt.hpp"
#include "lpt_error.hpp"
int LPT_EXIT = 0;
void lpt_error(string errinf){
    cout<<"错误：\nlpt: "<<errinf<<endl;
    if(LPT_EXIT==0) exit(1);
}
void closeerr(){
    LPT_EXIT=1;
}
void openerr(){
    LPT_EXIT=0;
}